-- GENERATED SPELL FOR [Windshear Tunnel Rat] --


function spell0_4001(pUnit, Event) --@Fevered Fatigue,n/a--
pUnit:FullCastSpellOnTarget(8139,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_4001', 3000, 1)
end

function Sorts_4001(pUnit, Event)
local choix_sorts_4001 = math.random(0, 0)
if choix_sorts_4001 == 0 then
pUnit:RegisterEvent('spell0_4001', 1, 1)
end
end

function mob4001_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4001', math.random(1500, 3000), 1)
end

function mob4001_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4001_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4001_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4001, 1, 'mob4001_Action')
RegisterUnitEvent(4001, 2, 'mob4001_Leave')
RegisterUnitEvent(4001, 3, 'mob4001_Kill')
RegisterUnitEvent(4001, 4, 'mob4001_Die')
